Skip to content

Conversation

@jwtty
Copy link
Contributor

@jwtty jwtty commented Dec 10, 2024

Description of your changes

Fix the log error detected by my UT run: https://github.com/Azure/fleet/actions/runs/12248447322/job/34168071853?pr=975
Observed a panic in reconciler: odd number of arguments passed as key-value pairs for logging" controller="internalmembercluster" controllerGroup="cluster.kubernetes-fleet.io" controllerKind="InternalMemberCluster" InternalMemberCluster="fleet-member-cluster-2/cluster-2" namespace="fleet-member-cluster-2" name="cluster-2" reconcileID="947855b0-ed3c-4fcd-b8bd-67fe374cd82b"
go.goms.io/fleet/pkg/controllers/internalmembercluster/v1beta1.(*Reconciler).Reconcile(0xc0001b1500, {0x3209350, 0xc00170df20}, {{{0xc0005d0e70, 0x16}, {0xc0013281b7, 0x9}}}) 2024-12-10T02:57:46.2158543Z /home/runner/work/fleet/fleet/pkg/controllers/internalmembercluster/v1beta1/member_controller.go:199 +0x5c5

Fixes #

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

@jwtty jwtty merged commit 82ba78a into Azure:main Dec 11, 2024
12 checks passed
@jwtty jwtty deleted the log-fix branch December 11, 2024 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants